package com.pattern.behavior.responsibilitychain;

public class BRProcessor extends ResponsibilityProcessor {

    @Override
    public void processRequest(String request) {
        if ("B".equalsIgnoreCase(request)) {
            System.out.println(request + " was processed in " + this.getClass().getName());
        } else {
            super.processor.processRequest(request);
        }
    }
}
